package com.medical.data.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserInformationVo {
    @Email(message = "用户名邮箱格式错误")
    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "用户昵称")
    @Pattern(regexp = "^\\S{1,10}$")
    private String nickName;

    @ApiModelProperty(value = "用户号码")
    private String phone;

    @ApiModelProperty(value = "用户头像")
    private String avatar;//用户头像地址

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "医生职称")
    private String title;
    @ApiModelProperty(value = "医生性别")
    private String gender;

    @ApiModelProperty(value = "医生信息")
    private String  doctorInfo;

    @ApiModelProperty(value = "医生擅长")
    private String  goodat;

    @ApiModelProperty(value = "医院")
    private String  hsId;

    @ApiModelProperty(value = "科室id")
    private String departmentId;
}
